Skip to main content
100%

dVA7_Question_1

✓ Published0🌍 Public
Nnandasaipalankius@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Hello VizHub

This example visualizes the distribution of air quality pollutants by manufacturer, using a pie chart to compare the horsepower values across categories. It loads CSV data from a GitHub gist via PapaParse and renders the chart with D3 v6, employing `d3.pie` to compute arc angles, `d3.arc` for path generation, and `d3.scaleOrdinal` with `d3.schemeCategory10` for color encoding. The SVG output includes labeled slices with centered text labels, all contained within a responsive chart container.

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