Skip to main content
Public

Share visualization

Loading preview…

Sleep Health Metric Viz

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

Sleep Health Metric Viz

0
BBashir Gulistani
Last edited Sep 16, 2024
Created on Sep 16, 2024

This scatter plot visualizes the relationship between heart rate variability and body temperature in a sleep health metrics dataset. The visualization uses D3’s `scaleLinear` and `axisBottom`/`axisLeft` functions to map the quantitative fields to x and y positions, with circles rendered at each data point. The data comes from a custom `@Bashir1999/sleep_health_metrics` package, and the chart includes labeled axes and a light gray inner rectangle to frame the plotting area. The example demonstrates how the penguins scatter plot template can be repurposed for a different dataset.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data

Comments

Sign in to join the discussion.

MIT Licensed