Skip to main content
Public

Share visualization

Loading preview…

United State GDP

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

United State GDP

0
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

Comments

Sign in to join the discussion.

MIT Licensed