Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Actitvity7:Questions:1

Public visualization

Viewing a saved revision (read-only)

0648972dfdcb4264aa4591db42cabdfe

Actitvity7:Questions:1

0 stars1🌍 Public
Ssaivaishnogaruda@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024

This pie chart displays the distribution of car fuel types from a CSV dataset, using a D3.js v6 script. The visualization renders as an SVG with color-coded slices and white label text. The code loads data from a GitHub URL, counts fuel type occurrences with `d3.rollups`, and constructs the chart using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with a `schemeCategory10` color palette.

AI-generated description