Skip to main content
100%

Activity6_Task 2

✓ Published1🌍 Public
Vvikramkotlo9@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that loads the library via UNPKG and uses ES6 modules to display a static message. It shows how `import { select } from 'd3'` manipulates the DOM by setting the text of a `#message` div, while a separate local module (`myMessage.js`) exports the string content. The page also imports a stylesheet to center and scale the text with a 12em font size. The visualization itself contains no data or interactive elements.

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