Hi VizHub
✓ Published0🌍 Public
This example displays a single data value extracted from a local JSON array of car records, rendering the year of the first car in red text on a dark background. The page loads D3 v5 and uses an ES6 module to parse the embedded car data with `JSON.parse`, then writes the value to a DOM element via `document.getElementById`. The styling uses a Google Fonts import and a custom CSS class.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed