Skip to main content
100%

cars report

✓ Published0🌍 Public
Sshimos12468
Last edited May 31, 2021
Created on May 31, 2021
Forked from Hello VizHub

This example displays a car report by rendering a single text element that shows the car type "ford" sourced from a local ES6 module. It uses D3 v5’s `select` function to target the `#message` div and set its text content, while a separate local module exports the message "cars report" and the car data object. The code demonstrates loading D3 via UNPKG, importing from both the D3 library and local ES6 modules, and applying basic CSS styling to center the large output text.

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