Skip to main content
100%

d3

✓ Published0🌍 Public
Ssimon-onebright
Last edited Dec 30, 2021
Created on Dec 27, 2021
Forked from Hello VizHub

This example demonstrates the basic structure of a VizHub project, showing how D3.js can be imported and used to set the text of an HTML element. It loads D3 version 5 from UNPKG and uses the `select` API to update a message, alongside a local ES6 module for the message string. The visualization itself renders simple SVG shapes—a circle, rectangle, and line—with styling provided in CSS.

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