Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Bbicyclecode
Last edited Jan 4, 2021
Created on Jan 4, 2021
Forked from Hello VizHub

This example demonstrates how to build a minimal HTML page that loads D3 v5 from the unpkg CDN and displays a text message extracted from a local JSON dataset. The code imports the cars dataset from a local ES6 module, parses it with JSON.parse, and updates the DOM by setting the text content of a pre element to the first car's make property. It also includes a separate ES6 module for message export and basic CSS styling to center and enlarge the displayed 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