Skip to main content
100%

Read in JSON department files

✓ Published3🌍 Public
NNourAldinAlmubarak
Last edited Apr 24, 2020
Created on Apr 23, 2020

This example shows a zoomable sunburst chart of student enrollment data by department, course, and module, with a breakdown of male and female students. A radio button selection allows users to choose a department for focus. The data is loaded from three JSON files using `Promise.all` with `d3.json`. The visualization uses D3 v5’s `d3.partition`, `d3.hierarchy`, and `d3.arc` to render the SVG-based radial layout, with click interactions to zoom and animate through the hierarchy. Colors are assigned via `d3.scaleOrdinal` with a rainbow interpolator.

AI-generated description
MIT Licensed

Similar vizzes