Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1_DataViz_PiechartForCarPerformance

Public visualization

Viewing a saved revision (read-only)

930ac9fb74ab4847b46de7a635a33aca

Q1_DataViz_PiechartForCarPerformance

0 stars2🌍 Public
Nnikhilkinnera1998@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Activity-7_Q1

This pie chart displays the distribution of horsepower across various car manufacturers. The visualization uses a D3.js pie chart to represent each model's contribution to total horsepower, with percentage labels displayed directly on the slices. A legend maps colors to car models, while the chart includes axis labels for context. The implementation uses d3.pie for slice calculation, d3.arc for path generation, and d3.scaleOrdinal with d3.schemeCategory10 for color assignment. Data is loaded from a remote CSV file and rendered as SVG within a web page.

AI-generated description