Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

company_growth.csv

Public visualization

company_growth.csv

0 stars1🌍 Public
Ssrinath
Last edited Oct 19, 2025
Created on Oct 19, 2025

This interactive bar chart visualizes company profit across years from 2018 to 2030, sourced from a CSV file. It uses React to manage the component lifecycle and D3’s `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` to render the chart. Clicking a bar highlights it and dims others, with state managed via React’s `useState` hook. The chart includes responsive sizing through a `ResizeObserver` and subtle hover transitions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed