Skip to main content
100%

Q1_DataViz_PiechartForCarPerformance

✓ Published2🌍 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
MIT Licensed

Similar vizzes