Skip to main content
Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

By saiful9707 on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Fork of Reusable D3 Scatter Plot

0 stars0Public
445.saiful@gmail.com
Last edited Mar 30, 2026
Created on Mar 30, 2026

This fork of a reusable D3 scatter plot visualizes the top 100 global cities by population on the x-axis and area on the y-axis. The chart loads data from a CSV via `d3.csv`, converts fields to numbers, and renders SVG circles using `d3.scaleLinear` for both axes. It calls `d3.axisBottom` and `d3.axisLeft` for ticks, with labeled axes added as SVG text. The reusable `scatterPlot` function encapsulates scaling, axes, and circles, making the visualization configurable through a `config` object specifying value accessors and margins.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed