Assignment2Question 1
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed