https://github.com/phette23/treemap-koha-facets
d3.js treemap example with library catalog facet usage
https://github.com/phette23/treemap-koha-facets
d3js data-visualization treemap
Last synced: about 1 month ago
JSON representation
d3.js treemap example with library catalog facet usage
- Host: GitHub
- URL: https://github.com/phette23/treemap-koha-facets
- Owner: phette23
- Created: 2017-03-01T20:11:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T00:04:18.000Z (about 9 years ago)
- Last Synced: 2025-01-15T03:08:48.431Z (over 1 year ago)
- Topics: d3js, data-visualization, treemap
- Language: JavaScript
- Homepage: https://phette23.github.io/treemap-koha-facets/
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
See http://bl.ocks.org/ganeshv/6a8e9ada3ab7f2d88022 for the template.
My main edits:
- remove `window.addEventListener('message', …)` block since I'm not using postMessage to load data
- change the final `if` block to a simple `d3.json("data.json", …)` call
- create & manually edit a "data.json" file with the appropriate tree data structure
All other changes from the treemap template were minor cosmetic tweaks that could be done without.