Skip to main content
Public

Share visualization

Loading preview…

Bikeshare Scatterplot

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

Bikeshare Scatterplot

0
JJack Hanlon
Last edited Oct 24, 2024
Created on Sep 16, 2024

This scatterplot visualizes the relationship between normalized temperature and total bike ridership across hourly records from a bikeshare dataset. Each point represents a single hourly observation, with the x-axis showing temperature normalized to a range of -8°C to +39°C and the y-axis showing total riders. The code uses D3’s `scaleLinear`, `axisLeft`, and `extent` functions, along with helper functions from `@curran/axis-labels` for axis labels. Rendered via SVG, circles are drawn with constant radius and opacity, overlaid on a light gray inner rectangle.

AI-generated description

A simple scatter plot with D3 showing the Bikeshare Dataset.

All x axis values, Normalized Temp in °C, are derived via (t-t_min)/(t_max-t_min), t_min=-8, t_max=+39 (only in hourly scale)

Comments

Sign in to join the discussion.

MIT Licensed