Skip to main content
100%

Sales of each car model in millions ICE 7 Saranya

✓ Published0🌍 Public
MMalempatiSaranya
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from HTML Starter

This visualization displays total sales of car models in millions, aggregated from a CSV dataset, as an interactive donut chart with a legend. The chart, built with D3 v2 and jQuery, uses `d3.layout.pie` and `d3.svg.arc` to generate proportional arcs, with `d3.scale.ordinal` mapping model names to colors. Each slice includes a hover tooltip via `svg:title` and shows the sales value as text. Animated opacity transitions and clickable legend entries highlight or toggle data segments, while the SVG rendering updates dynamically through `d3.select` and `append`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes