Skip to main content
100%

CarPerformance pie chart

✓ Published0🌍 Public
Ssowjanya
Last edited Oct 25, 2025
Created on Oct 25, 2025

This pie chart shows the distribution of cars by cylinder count in the CarPerformance dataset. The visualization groups entries by cylinder type and maps the resulting counts to pie arc sizes, with each segment labeled by its cylinder category. It uses D3 v7 APIs including `rollups` for aggregation, `pie` and `arc` for generating the chart geometry, and `scaleOrdinal` for color encoding. A legend identifies the color-to-cylinder mapping, and the data is loaded and parsed via D3's `csv` function from a GitHub-hosted CSV file.

AI-generated description
MIT Licensed

Similar vizzes