Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets draw a bar chart

Public visualization

Lets draw a bar chart

0 stars0🌍 Public
Yyogichoudhary
Last edited Jun 3, 2020
Created on Jun 3, 2020

A horizontal bar chart displays employee salaries as bars animated from zero width to their final values. Data comes from a CSV file listing names and monthly salaries, converted to annual amounts. The visualization uses d3.scaleLinear, d3.scaleBand, axisLeft, and axisBottom. SVG rectangles are rendered in React with d3.v5, featuring interactive tooltips that appear on mousemove, highlighting bars via CSS class changes, and entrance transitions using transition().duration(300).

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed