Skip to main content
100%

Fork of Bar Chart

✓ Published0🌍 Public
GGuilinabaoge
Last edited Sep 27, 2022
Created on Sep 27, 2022
Forked from Bar Chart

This example presents a bar chart of global sales data across historical periods, rendered as an SVG with D3 version 6. It shows a default view of steel-blue bars, which transition to orange on mouse hover via D3's selection and transition APIs. The chart uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes. Data is loaded from a CSV file and mapped to rectangles with explicit width and height attributes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes