Skip to main content
100%

ICE 6: Rendering Marks and Channels with React & D3 - Scatter Plot

✓ Published0🌍 Public
IIsabella Jaya Rani C
Last edited Mar 5, 2023
Created on Mar 5, 2023
Forked from Hello VizHub

This example renders a scatter plot using React and D3. It demonstrates how to combine D3’s `select` function with local ES6 modules to update a message on the page. The code loads D3 via UNPKG and uses the `import` syntax to access D3 APIs and a custom module. The visualization displays a scatter plot, with the message “Hello VizHub!” shown prominently. The example highlights the integration of D3’s mark and channel rendering within a React environment.

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.
MIT Licensed

Similar vizzes