Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js Bar Chart with FCC Data

Public visualization

D3.js Bar Chart with FCC Data

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed