Skip to main content
100%

Cars Report

✓ Published0🌍 Public
MMario Edson de Almeida
Last edited Apr 21, 2022
Created on Apr 21, 2022
Forked from Hello VizHub

This example displays the model name of the first car in a static JSON dataset. It uses the D3 library loaded via UNPKG, with the `cars.js` module parsing the JSON and exporting the array. The `index.js` file imports the `cars` data, selects the `model` property from the first element, and sets it as the text content of a `<pre>` element in the HTML, demonstrating local ES6 module imports and dynamic text injection.

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