Fork of ice 7 pie
✓ Published0🌍 Public
This pie chart visualizes the top 10 global automobile sales in millions, with each slice representing a brand’s value and a legend detailing the data. It uses d3.pie and d3.arc to generate the SVG paths, with d3.scaleOrdinal and d3.schemeCategory20 assigning colors. Interactive hover effects, implemented via d3.selectAll and mouse events, dim other slices and display a tooltip with the brand name and value. The chart is rendered as SVG, with a fixed 400x400 viewport and semi-transparent styling.
AI-generated descriptionice 7 pie!!!!!
MIT Licensed