Skip to main content
100%

test v3

✓ Published0🌍 Public
Jjingwg3@163.com
Last edited Dec 1, 2022
Created on Dec 1, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js v3 setup within a VizHub environment, showing an ordinal scale with padded range bands and a plain-text message rendered on the page. It loads D3 via UNPKG, imports the `select` function from the `d3` module, and defines a local ES6 module for the message string. The page displays the message using CSS styling, while the console logs the computed `rangeBand()` value from the ordinal scale.

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