Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice_7 , question 2

Public visualization

Viewing a saved revision (read-only)

9bd0ca582646438f840c1892b75433d4

ice_7 , question 2

0 stars1🌍 Public
Sshailajat1998@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from ice_7 , question 1

This pie chart visualizes the distribution of fuel types in a used-car dataset, with each slice encoded by a distinct color from D3's categorical scaleOrdinal scheme. The visualization is interactive: hovering over a segment displays a tooltip showing the fuel type and its exact count, while a dynamically generated legend maps colors to fuel categories for quick reference. Data is loaded from car_dataset.csv via d3.csv, and the chart is rendered with SVG in D3 v7, featuring smooth animated transitions. The tooltip and legend enhance accessibility and readability, making it easy to compare categorical proportions at a glance.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.