Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

United State GDP

Public visualization

Viewing a saved revision (read-only)

15bf73cec652436b8bea4fee38a4cdeb

United State GDP

1 star0🌍 Public
Vvaynexie
Last edited Jan 4, 2020
Created on Jan 4, 2020

This D3.js v4 visualization displays the quarterly gross domestic product of the United States from 1947 to 2015 as a series of vertical bars. An interactive tooltip reveals the exact date and GDP value in billions of dollars for each quarter. The chart uses `d3.scaleTime` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` to render the axes. Data is sourced from the FreeCodeCamp GDP-data JSON file hosted on GitHub. Animated transitions enhance the tooltip and overlay effects.

AI-generated description