Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SATISHQUESTION1

Public visualization

Viewing a saved revision (read-only)

8fb3bc83a2354de69828e415f9002bd7

SATISHQUESTION1

0 stars0🌍 Public
Ssatishvelaga02@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This example presents a pie chart of U.S. states and their populations in millions, sourced from a CSV file hosted on GitHub. It uses d3.pie and d3.arc to generate the chart, with d3.scaleOrdinal assigning colors to each slice. The visualization includes value labels on each section and a legend with colored rectangles and text, all rendered as SVG. Population values and state names are formatted and displayed using d3.format.

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.