Skip to main content
100%

Assignment2Question 1

✓ Published0🌍 Public
KKondreddy Saikiran reddy
Last edited Apr 9, 2024
Created on Apr 7, 2024

An interactive pie chart visualizes US retail sales data for toys in 2023, sourced from a CSV file. The chart displays the proportional sales of different toy categories, using a color legend and a hover tooltip to show exact sales figures and percentages for each slice. Built with D3.js v7, the visualization uses `d3.pie` to compute arc data, `d3.arc` to generate path geometries, and SVG for rendering. The legend and chart are positioned side-by-side, with animations providing hover feedback and tooltip transitions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes