Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 7.1D3.JS

Public visualization

Viewing a saved revision (read-only)

db60f5e59a8344d2844e16cee3974615

Fork of Activity 7.1D3.JS

0 stars1🌍 Public
AAbhinay Peeta
Last edited Apr 10, 2025
Created on Apr 10, 2025

This visualization shows a pie chart of vehicle types from a CSV dataset, with slice sizes representing the count of each vehicle type and a color-coded legend identifying the categories. It uses D3 v7’s `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `schemeTableau10` to generate and color the SVG paths, while `d3.rollup` aggregates the raw data. The chart includes axis labels and a title, with the underlying data fetched from a GitHub gist via `d3.csv`.

AI-generated description