Skip to main content
Public

Share visualization

Loading preview…

Stylized 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

Stylized Scatter plot

1
WWaseem Medhat
Last edited Oct 27, 2020
Created on Oct 27, 2020

A stylized scatter plot displays the classic Iris dataset, allowing users to explore relationships between sepal and petal measurements via interactive dropdown menus for the x and y axes. The visualization uses React with `useState` to manage attribute selection, while D3 v5’s `scaleLinear` and `extent` handle continuous scaling and domain calculation from the CSV data. SVG circles represent each flower, with Poppins-font axis labels and custom tick styling applied through CSS. The axes are rendered as reusable components using `AxisBottom` and `AxisLeft`, and tick values are formatted with D3’s `format` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed