Skip to main content
Public

Share visualization

Loading preview…

IC-7

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

IC-7

0
SSaivignesh-9176
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from React & D3 Starter

This example visualizes the classic Iris flower dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis. It uses D3 scales and axes to render the chart, with semi-transparent circles representing individual data points. The code demonstrates a decoupled React and D3 architecture, where D3 handles the SVG rendering and React manages the component lifecycle. It uses `d3.csv` for data loading, `scaleLinear` and `extent` for scaling, and `axisLeft` and `axisBottom` for the axes.

AI-generated description

This viz is a starter that demonstrates patterns used in real world projects in which complexity is anticipated to scale.

  • Decoupled React & D3 integration
  • Opening moves for scalable complexity
  • Industry standard ES modules and JSX
  • Copy-paste into existing projects

Any questions? Ask on Twitter!

Also viewable in:

Comments

Sign in to join the discussion.

MIT Licensed