Export Image
Export Code

Fork of D3 Starter -(pie chart)

sowjanya

0 views in last 90 days
Last edited Oct 25, 2025
Created on Oct 25, 2025

Car Performance Pie Chart

This project visualizes vehicle horsepower distribution using D3.js.

Files

  • index.html → Main HTML structure
  • style.css → Styling for layout and visuals
  • index.js → D3 logic to render the pie chart
  • CarPerformance.csv → Dataset hosted on GitHub

Data Source

CSV hosted at:
CarPerformance.csv (GitHub Raw)

How to Run

  1. Open index.html in your browser, or
  2. Fork on VizHub, ensuring CSV URL points to GitHub Raw.

Output Preview

Pie chart showing:

  • Low (≤120 HP)
  • Medium (121–160 HP)
  • High (>160 HP)

Legend is placed at the top-right corner for readability.

MIT Licensed