Skip to main content
100%

Fork of D3 Starter

✓ Published1🌍 Public
AAdan Rodriguez
Last edited Feb 1, 2023
Created on Jan 31, 2023
Forked from D3 Starter

This example demonstrates how to build a basic bar chart using D3 version 7, showing monthly revenue data from a CSV file. The visualization maps months to a band scale on the x-axis and revenue amounts in millions to a linear scale on the y-axis, with grey bars and rotated x-axis labels. The code uses `d3.csv` to load the data, `d3.scaleBand` and `d3.scaleLinear` for scaling, and `d3.axisBottom` and `d3.axisLeft` to render the axes. The chart is rendered as SVG within a fixed-width margin layout.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes