Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

0 stars0🌍 Public
BBetai Koffi
Last edited Mar 3, 2022
Created on Mar 3, 2022
Forked from Hello VizHub

This example demonstrates how VizHub supports modular JavaScript development with React and D3. The app renders an SVG circle with a yellow fill and black stroke, centered within a 960x500 viewport, using hardcoded dimensions rather than data. The code imports React and ReactDOM from CDN via UNPKG, while a local ES6 module exports a message string. Although the message module is imported and a D3 selection is commented out, the active component only returns a simple React element.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed