Skip to main content
Public

Share visualization

Loading preview…

React starter

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

React starter

2
NNart Williamson
Last edited May 2, 2021
Created on May 2, 2021

This example demonstrates a minimal React and D3 integration, rendering a simple "test" message inside a React component. The app uses `ReactDOM.render` to mount the `<App />` component into the page root, while the HTML loads React 16.9, ReactDOM, and D3 v5 from CDNs. The code imports the `arc` function from D3, though it is not utilized in the visible UI. The setup serves as a starter template for combining React’s component model with D3’s visualization utilities.

AI-generated description

Smiley face implementation with React & D3, using a React component.

Comments

Sign in to join the discussion.

MIT Licensed