This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Marimekko
Jure Stabuc edited this page Apr 1, 2019
·
29 revisions
Marimekko image
The files for each chart should be of the following format:
Folder structure image
The config file contains all the variables which you can adjust. Data.csv contains the data for your graph. The lib folder contains javascript libraries used. You'll also need the images folder.
If you’re making several charts they can share the same “lib” file as follows
Several charts folder structure
Save your data in csv form of the following format:
group | Financial | Real estate, professional, scientific and technical | Travel | Information and communication |
---|---|---|---|---|
Greater Manchester CA | 1406 | 1014 | 887 | 506 |
Edinburgh and South East Scotland CR | 1981 | 449 | 1516 | 520 |
West Midlands CA | 1858 | 526 | 909 | 339 |
Glasgow CR | 1554 | 568 | 435 | 287 |
Open the “config.json” file. You can open this in a text editor such as Notepad++ or TextEdit or download a code editor such as Atom, Dreamweaver, Brackets or Sublime Text 2.
These contain the main variables which the chart will need and will possibly need changing for each new chart.