Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity_7.1_Question1

Public visualization

Fork of Activity_7.1_Question1

0 stars1🌍 Public
Ppradeepgubbala2001@gmail.com
Last edited Nov 6, 2024
Created on Nov 5, 2024

This example presents a pie chart visualizing the top 11 cities by total population in 2024, using data from a GitHub-hosted CSV file. The chart displays each city as a colored slice with a label, and includes a legend for identification. The visualization is built with D3 version 6.7.0, utilizing the `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` APIs to compute and render the arcs, along with the `csv` loader to parse the dataset.

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.

Comments

Sign in to join the discussion.

MIT Licensed