Skip to main content
Public

Share visualization

Loading preview…

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

Scatter Plot

0
RRuba Khan
Last edited Sep 15, 2024
Created on Sep 15, 2024

This scatter plot visualizes the relationship between attendance rate and final grade for a student performance dataset, with each circle representing a student. The code uses D3’s `scaleLinear` and `extent` functions to map the data to screen coordinates, while axis labels are generated through the `@curran/axis-labels` package. The plot includes a light gray background rectangle and semi-transparent circles, configured via options like `innerRectFill`, `circleRadius`, and `circleOpacity`. Data is loaded directly from a local CSV file with fields converted to numbers.

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