Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

T9Q1

Public visualization

T9Q1

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed