VIZHUB_Q1_DVA7
✓ Published0🌍 Public
This example displays a donut chart of car classification categories, showing the percentage distribution of car classes. It loads a CSV dataset, counts the occurrences of each class, and visualizes the results using a pie layout with colored slices and a legend. The visualization is rendered as an SVG using D3.js, with d3.csv for data loading, d3.pie for layout, d3.arc for slice geometry, and d3.scaleOrdinal for color mapping.
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