ghantt chart
✓ Published0🌍 Public
This donut chart visualizes the distribution of orders by state, using a pie chart where each slice represents a state's count. The chart is rendered with SVG and uses D3’s `pie` and `arc` functions to create the donut shape. Interactive tooltips appear on mouseover, displaying the state name and count. A legend on the right maps colors to states. Data is loaded from a remote CSV file via `d3.csv` and grouped using `d3.rollup`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed