🌍 Public
Viewing a saved revision (read-only)
5b3b4523c22d47d9a4a353c83716c1b4
Activity7:Questions:1
This visualization uses a D3.js pie chart to show the distribution of car fuel types, with slices representing the proportion of cars using each fuel type. The data is loaded from a CSV file via `d3.csvParse` and grouped with `d3.rollup` to count cars by fuel category. The chart is rendered as SVG using `d3.pie()`, `d3.arc()`, and a color scale from `d3.schemeCategory10`, with labels placed at each arc’s centroid.
AI-generated description