Skip to main content
100%

PROJECT

✓ Published1🌍 Public
Ttallurisaiteja96@gmail.com
Last edited Apr 18, 2024
Created on Apr 17, 2024
Forked from Task8

This visualization shows a pie chart of car makes by horsepower, with a corresponding color-coded legend. The data is loaded from a remote CSV file using `d3.csv` and parsed into labels and numeric values. D3 v7’s pie layout (`d3.pie`) and arc generator (`d3.arc`) render the segments, while an ordinal color scale (`d3.scaleOrdinal` with `schemeCategory10`) assigns colors. The chart is drawn as SVG, with a separate HTML legend built dynamically. It includes a centered title and a bottom label for the make category.

AI-generated description
MIT Licensed

Similar vizzes