Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question1

Public visualization

Viewing a saved revision (read-only)

944201ab41684960868938b6d3cf595d

Question1

0 stars0🌍 Public
PPadmajaKodati@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This example visualizes the top five car companies and their market percentages as an interactive pie chart. Each slice displays its percentage value, with a legend showing company names alongside their corresponding percentages and color swatches. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the chart, and loads its data from a CSV file hosted on a GitHub gist. SVG is used for rendering all chart elements and text.

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.