Skip to main content
Public

Share visualization

Loading preview…

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

1
JJingxuan Yang
Last edited Feb 13, 2024
Created on Jan 30, 2024

This fork of a simple scatter plot visualizes housing data from the kc_house_data dataset, plotting bedrooms against living area in square feet. Each circle represents a house, with opacity and radius set to fixed values. Using D3’s `scaleLinear`, `axisLeft`, and selection methods, the visualization renders axes, labels, and points within a gray inner rectangle. The code imports data from a custom module and leverages helper functions like `xAxis` and `yAxisLabel` from the axis-labels library to assemble the chart.

AI-generated description

A simple scatter plot with D3 showing the kc_house_data

Challenge

  • Fork this viz
  • Modify it to show your data

Comments

Sign in to join the discussion.

MIT Licensed