Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of selling price of fortuner cars in different years

Public visualization

Fork of selling price of fortuner cars in different years

0 stars0🌍 Public
Kkarumanchimanasa
Last edited Mar 12, 2023
Created on Mar 12, 2023

A pie chart displays the selling price of Fortuner cars across different years, with each slice labeled by year and a legend showing the corresponding profit values in lakhs. The chart uses D3.js v5 to load CSV data from a GitHub gist, compute the pie layout with `d3.pie()`, and render arcs with `d3.arc()`. SVG elements are bound to the data, and colors are assigned via `d3.scaleOrdinal()`. The visualization updates dynamically with a centered title and a custom legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed