Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9_Q1

Public visualization

Viewing a saved revision (read-only)

b9cf54ebe9c14e67889a9025421ef768

Task9_Q1

0 stars0🌍 Public
Pparvathi829790@gmail.com
Last edited Apr 18, 2024
Created on Apr 17, 2024
Forked from Hello VizHub

This example displays a D3.js pie chart visualizing horsepower totals for different car makes, with a legend showing each make and its percentage of the total. The chart uses a tooltip that appears on mouseover, revealing the make and horsepower value. The code imports D3 functions like `arc`, `pie`, and `scaleOrdinal`, and loads data from a GitHub CSV. It renders as an SVG with a categorical color scheme.

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.