Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BAR CHART CREATION

Public visualization

BAR CHART CREATION

0 stars0🌍 Public
119h61a05c9@cvsr.ac.in
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from BAR CHART CREATION

This bar chart displays sales values for 50 products, with each product’s value encoded by the height of a horizontal bar. The visualization uses D3.js v7 to load data from a CSV file via `d3.csv`, then renders bars as SVG rects with scaling through `d3.scaleBand` and `d3.scaleLinear`. Hover interactions highlight bars in orange and trigger a tooltip showing the product name and value. The chart includes rotated x-axis labels, a title, and axis labels for Products and Sales Value.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed