Skip to main content
100%

activity 2 task 6

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task-2

This example demonstrates a minimal D3.js visualization that renders a text message centered on the page. It loads D3 from UNPKG and uses the `select` function to update the DOM content, while also importing a local ES6 module for the message string. The code includes a regular expression and a constant, though these do not affect the visible output. Styling is handled through an external CSS file that sets the text alignment and font size.

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