Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Simple Scatter Plot

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 Fork of Simple Scatter Plot

0
Rrobertotienonyaranga@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024

This scatter plot compares tourist visitor numbers between 2019 and 2021 for various places. Each dot represents a location, with its horizontal position showing 2021 visitors and vertical position showing 2019 visitors, using D3.js’s `d3.scaleLinear` for axes. The data is loaded from a CSV via `d3.csv` with `d3.autoType` for parsing. The visualization renders SVG circles styled with CSS, with axis labels added using `d3.axisBottom` and `d3.axisLeft`. The chart’s title appears above the plot, and the grid is removed for a cleaner look.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed