A data visualization that renders magazine circulation data. Powered primarily by dc.js
. Visible on the Circulating Magazines Project at JMU
-
Run
npm install
to install all dependencies for the data cleaning scripts. -
Create an
assets/data/rawData
directory and add circulation and geodata as separate files with the respective titles<CODE>-Circulation.csv
and<CODE>-geodata.csv
. Schemas for the CSV files TBD. -
Use
npm run circulation-cleaner
and/ornpm run geodata-cleaner
to convert the CSVs to JSON files that are consumable by the front-end. -
Finally, use
npm run title-generator
to update the list of titles that are rendered by the front end.
Special Notes can be added in the data/constants.js
folder. It is represented as a simple JSON object, in which the key is the title code (e.g., NEYO
) and the value is the special note. The UI will pull from this map to populate the special notes field in the visualization.