Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Piechart ICE7

Public visualization

Viewing a saved revision (read-only)

f65a21cf7ae54515a7d77adaaf545bcf

Fork of Piechart ICE7

0 stars1🌍 Public
HHema1430
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Piechart ICE7

This pie chart visualizes the number of vehicles seized in different U.S. states, with each state represented by a distinct color and labeled with its value in thousands. The visualization is built using the D3.js library, specifically leveraging `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the chart and its legend. Data is loaded asynchronously from a raw CSV file hosted on GitHub, which is parsed using `d3.csv`. The chart is rendered as an SVG, with each arc segment and legend entry colored according to the state’s data value, and the total number of vehicles is aggregated for reference.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.