Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Pie Chart

0 stars0🌍 Public
RRamyapriyaPutta
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Hello VizHub

A pie chart displays 2022 US auto sales by brand. The SVG visualization is generated with D3 v5, where the chart partitions data into colored slices using the `d3.pie` layout, `d3.arc` for path and label geometry, and a categorical color scheme. Data is loaded from a remote CSV file, and labels are positioned via arc centroids.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed