Skip to main content
Public

Share visualization

Loading preview…

Fork of HTML Starter

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

Fork of HTML Starter

0
Nnithinreddypinikesi@my.unt.edu
Last edited Mar 7, 2026
Created on Mar 7, 2026
Forked from HTML Starter

This scatter plot visualizes the relationship between population in 2025 and GDP per capita for various countries. Each circle represents a country, with its horizontal position determined by population and vertical position by GDP per capita. The visualization uses D3 v7 to load CSV data from a GitHub gist, applies linear scales for both axes, and renders SVG circles with axis labels and a legend. The code demonstrates `d3.csv`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for data binding and chart construction.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed