Make a LCC Treemap with a bunch of MARC files
view here: https://thisismattmiller.github.io/lcc-tree/
To make your own. You need python3 installed.
- Put all your MARC files into one directry.
- Edit build_data.py to reflect that location and make sure you install the need libraries
pip3 install pymarc tqdm
- Run
python3 build_data.py
- Run
python3 build_json_tree.py
- Fork https://observablehq.com/@thisismattmiller/harvard-lcc-treemap into your own workbook.
- Find the line that says
data = FileAttachment("listhierarchy@1.json").json()
click the paperclip and replace the json file with your ownlisthierarchy.json
that was created by the scripts. - 🌲🤷♂️🌲