Skip to main content
100%

D3.js Bar Chart with FCC Data

✓ Published0🌍 Public
SSubliminal_[var]
Last edited Sep 30, 2021
Created on Sep 23, 2021
Forked from HTML Starter

This example visualizes United States GDP data from FreeCodeCamp, rendering a bar chart in SVG where each bar represents quarterly GDP values. The chart uses D3.js v4 with a linear y-scale and an x-axis showing years, fetched from a remote JSON source. The code employs `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` to map data to bar heights and positions, with bars styled via CSS classes.

AI-generated description

Second attempt on the FCC Bar chart challenge.

MIT Licensed

Similar vizzes