Skip to main content
Public

Share visualization

Loading preview…

United States 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 States GDP

0
Vvaynexie
Last edited Jan 3, 2020
Created on Jan 3, 2020

A bar chart displays quarterly United States GDP growth from 1947 to 2015, with each bar’s height representing billions of dollars and hovering revealing a tooltip with the exact value. The visualization uses D3 v5 to load JSON data from FreeCodeCamp’s GitHub repository, scales the GDP values with `d3.scaleLinear`, and renders axis ticks via `d3.axisBottom` and `d3.axisLeft`. Bars are appended as SVG `rect` elements, animated through mouseover and mouseout transitions that show an overlay and tooltip.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed