Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question1_A1

Public visualization

Viewing a saved revision (read-only)

44e1638fa19e44b9b3d6a8a8e55d5bf8

Question1_A1

0 stars0🌍 Public
Vvarmanithish5@gmail.com
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This pie chart visualizes the distribution of car horsepower across different makes, using D3 v7 to render SVG arcs and labels. The chart encodes horsepower values as arc sizes and colors each segment by car make, with a legend positioned to the right. Labels are placed along the arcs using `d3.arc`’s centroid method, and the data comes from an inline array of `{make, horsepower}` objects. A hover effect on the paths provides subtle interactive feedback.

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.