Make a LCC Treemap with a bunch of MARC files
Forked from https://github.com/thisismattmiller/lcc-tree
View here: https://jpstroop.github.io/lcc-tree/
- Run
pipenv install
- Set
ALL_RECORDS_URL
near the top ofget_data.py
- Run
get_data.py
(pipenv run python get_data.py
) - Run
build_data.py
- Run
build_json_tree.py
- Go to https://observablehq.com/@jpstroop/princeton-lcc-treemap
- Find the line that says
data = FileAttachment("listhierarchy.json").json()
click the paperclip and replace the json file with your ownlisthierarchy.json
that was created by the scripts.