Skip to main content
Public

Share visualization

Send this visualization to others.

Fork of Fork of D3 Scatter Plot

Public visualization

By saiful9707 on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Fork of Fork of D3 Scatter Plot

0 stars0Public
445.saiful@gmail.com
Last edited Mar 30, 2026
Created on Mar 30, 2026

A reusable scatter plot built with the reusable chart pattern displays the Iris dataset from Curran's Gist repository. It uses `d3.scaleLinear`, `extent`, and `axisBottom`/`axisLeft` for axes, with the chart configured via chainable methods for width, height, margin, and data accessors. The plot responds to data updates by joining circles to the DOM, rendering petal length against sepal length with steelblue points at 5-pixel radius and 0.7 opacity.

AI-generated description

D3 Scatter Plot

A reusable D3 scatter plot component built with the reusable chart pattern.

Features

  • Reusable chart function following D3 conventions
  • Configurable margins, dimensions, and data accessors
  • Responsive to data updates
  • Clean axis rendering

Data

Uses the Iris dataset from Curran's Gist repository.

Configuration

The chart can be configured using chainable methods:

  • .width(value) - Set chart width
  • .height(value) - Set chart height
  • .margin(object) - Set margins
  • .xValue(function) - Set X-axis data accessor
  • .yValue(function) - Set Y-axis data accessor

Comments

Sign in to join the discussion.

MIT Licensed