Skip to main content
100%

Vizhub leson 1 TCB

✓ Published0🌍 Public
Ttristancazorla
Last edited Jul 26, 2022
Created on Jul 26, 2022
Forked from Hello VizHub

This example demonstrates static SVG shapes—a brown rectangle and four nested concentric circles in red, yellow, purple, and blue—rendered inside a fixed 500×500 viewport. It also loads D3 via UNPKG and uses the `import { select } from 'd3'` statement to select a `#message` div, whose text is set to a string imported from a local ES6 module. The code highlights D3’s data binding and module integration without interactive behavior or external data sources.

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