Skip to main content
100%

T9Q1

✓ Published0🌍 Public
Cchintamanenithp@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This example renders a donut chart of total horsepower aggregated by car make from a CSV dataset hosted on GitHub. It uses D3 v7 modules including `d3.rollup`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `d3.schemeCategory10` to create colored arcs with labeled slices. A legend is appended to the SVG, and the chart is generated inside a group transformed to the center of the canvas.

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.
MIT Licensed

Similar vizzes