Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

PROJECT

Public visualization

Viewing a saved revision (read-only)

7e1b97800d494648bcd81131d905f067

PROJECT

0 stars1🌍 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