Untitled Document
✓ Published0🌍 Public
GGerardoFurtado
Last edited Apr 18, 2019
Created on Apr 18, 2019
This interactive donut chart displays survey data across gender, age, and race categories from a local JavaScript dataset. Three buttons let users switch between datasets, triggering a new pie chart with animated arc transitions using `d3.pie`, `d3.arc`, and `transition.attrTween`. The SVG rendering applies category-specific colors via a lookup function and shows tooltips on hover using D3 mouse events. SVG paths are drawn with a donut inner radius, and the chart initializes with the gender data on load.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/lydiawawa/'>lydiawawa</a>'s block: <a href='http://bl.ocks.org/lydiawawa/38243015ab2ac96b6086d3bae56572b9'>multiple pies</a>
mit Licensed