Akhil Pie Chart -Cars
✓ Published0🌍 Public
This pie chart displays the aggregated selling price of cars grouped by make, with a legend and a data table alongside the visualization. The chart uses D3.js v7 to compute the pie layout and arc paths, while a sequential color scale maps each car make to a distinct color. The code loads CSV data, groups it by car make, and sums the prices using d3.group and d3.sum. Hovering over a segment reveals a tooltip with the make and total price. The SVG rendering includes an interactive legend and a styled HTML table, all set against a light blue background.
AI-generated descriptionMIT Licensed