Skip to main content
100%

Visualize Data with a Bar Chart FCC

✓ Published0🌍 Public
SSubliminal_[var]
Last edited Jul 30, 2021
Created on Jul 30, 2021
Forked from Stylized Bar Chart

This example shows quarterly U.S. GDP data from the FreeCodeCamp tutorial dataset as a bar chart. Each bar represents a quarter, with the x-axis mapped to time and the y-axis to GDP value. The visualization uses React and D3 v7, building scales with `scaleTime` and `scaleLinear`, and manually rendering SVG ticks and bars rather than using D3’s axis generator. The data is fetched asynchronously via `json()`, and bars are drawn as SVG rectangles, with custom tick components for both axes.

AI-generated description

Making a Bar Chart with the the FCC Tutorial Dataset

MIT Licensed

Similar vizzes