Skip to content

ayyrickay/circulating-magazines

Repository files navigation

Circulating American Magazines Build Status

A data visualization that renders magazine circulation data. Powered primarily by dc.js. Visible on the Circulating Magazines Project at JMU

Adding and updating new titles

  1. Run npm install to install all dependencies for the data cleaning scripts.

  2. 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.

  3. Use npm run circulation-cleaner and/or npm run geodata-cleaner to convert the CSVs to JSON files that are consumable by the front-end.

  4. Finally, use npm run title-generator to update the list of titles that are rendered by the front end.

Adding Special Notes

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.

About

A visualization of magazine circulation data built with dc.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published