Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rainbow Circles

Public visualization

Viewing a saved revision (read-only)

e566762b14e142fc80b0afd0deeed066

Rainbow Circles

0 stars0🌍 Public
TTobi Olabode
Last edited Nov 8, 2023
Created on Nov 8, 2023
Forked from Hello VizHub

This example demonstrates how a VizHub project can integrate D3.js with local ES6 modules. It uses D3’s `select` function to display a text message in a `div` element, while importing a string constant from a separate `myMessage.js` module. The code includes a simple regex pattern and numeric variable, though these do not affect the visible output. The page renders a single large greeting, showcasing basic DOM manipulation and module importation within the D3 v5 framework.

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.

Test Heading