ques1 supriya
✓ Published2🌍 Public
This example shows a pie chart of car makes, with each slice sized by the car’s horsepower, and a color-coded legend on the right. It loads car data from a CSV file hosted on GitHub. The visualization is built with D3 v6, using `d3.csv` for data loading, `d3.pie` for computing slice angles, `d3.arc` for generating the SVG paths, and `d3.scaleOrdinal` with `d3.schemeCategory10` for categorical colors, all rendered as SVG shapes.
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