Skip to main content
Public

Share visualization

Loading preview…

Fork of Pie Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

Fork of Pie Chart

0 stars0Public
Bbhargavarathod
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Pie Chart

This pie chart shows the Democratic state populations for the top 10 states by vote count, with a legend displaying each state’s name and population in millions. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, rendering SVG paths with mouseover logging. Data is loaded from a CSV via `d3.csv` and sorted descending before slicing the first 10 entries. Tooltips are not implemented; instead, hovering logs values to the console.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed