Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Starter

Public visualization

React Starter

1 star1🌍 Public
NNita
Last edited Feb 28, 2020
Created on Feb 28, 2020
Forked from React Starter

This example renders four vertical rectangles as an SVG bar chart using React and ReactDOM. The bars have fixed x and y positions with widths and heights drawn from a static JavaScript array of numbers. The App component returns the SVG element directly, mapping over the data to generate each rect. The code relies on React 16.10 and renders the visualization into a root div via ReactDOM.render.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed