Skip to main content
Public

Share visualization

Loading preview…

Scatterplot with a Qualitative Color Scale Using D3

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

Scatterplot with a Qualitative Color Scale Using D3

1
OOlha
Last edited Apr 18, 2022
Created on Mar 8, 2022

This scatterplot displays bike stations in the Bay Area for 2013, plotting longitude on the x-axis and latitude on the y-axis. Each station is colored by city using a qualitative scale, d3.scaleOrdinal, with d3.schemeTableau10, while a D3 legend (d3.legendColor) shows location categories. The visualization uses D3 v7 to render SVG axes and circles, with data loaded from a remote CSV file.

AI-generated description

Assignment 6 part A

Scatterplot (with 2 quantitative variables and a qualitative variable) with a Qualitative color scale Using D3

Comments

Sign in to join the discussion.

MIT Licensed