Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Empty D3 Starter-likitha

Public visualization

Fork of Fork of Empty D3 Starter-likitha

0 stars1🌍 Public
Ccsesomarajuaswini@gmail.com
Last edited Mar 5, 2026
Created on Mar 5, 2026

A bar chart displays product sales data loaded from a remote CSV file via `d3.csv`. The visualization uses `d3.scaleBand` and `d3.scaleLinear` to map product categories and sales values, rendering steelblue rectangles in an SVG. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while the chart updates through D3’s data join pattern using `selectAll` and `enter`. The static SVG output is styled with a minimal CSS rule for message text.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed