Export Image
Export Code

Activity7:Questions:1

Saivaishno18

Last edited Nov 03, 2024
Created on Nov 03, 2024

Car Fuel Type Distribution Pie Chart Visualization with D3.js

This project visualizes car data by fuel type, using a pie chart to display the distribution of different fuel types. The visualization is rendered with D3.js.

Dataset Description

The dataset used here is Car Data from the provided CSV file, containing the following relevant attributes:

  • Fuel: The type of fuel the car uses (e.g., Petrol, Diesel).
  • Other Attributes: Additional columns in the dataset not used in this chart.

The data is grouped by Fuel to show the distribution of different fuel types in the dataset.

Dataset Link

The dataset is fetched from the following URL: Car Data CSV

Visualization Analysis

The pie chart displays the proportions of different fuel types in the dataset. Each segment represents a unique fuel type, and the size of each slice corresponds to the number of cars using that fuel type. This visualization helps in understanding the distribution of fuel types in the dataset.

Usage Instructions

  1. Clone or open this project in VizHub.
  2. Ensure an active internet connection to load D3.js and the CSV data.
  3. Run the visualization to see the pie chart rendered with D3.js.

Project Files

  • index.html: HTML structure for the visualization.
  • **
MIT Licensed