Skip to main content
100%

Barchart

✓ Published0🌍 Public
TTimvanAlphen
Last edited Nov 9, 2020
Created on Nov 9, 2020
Forked from HTML Starter

This bar chart visualizes survey data categorized by interest, retrieved from a GitHub-hosted JSON file. The visualization uses the D3.js library (version 6.2.0) within a React framework, rendering bars as SVG elements. The code applies conventional margins to position the chart group, with the SVG canvas sized dynamically based on its CSS style properties. Data is fetched from the specified endpoint and mapped to the bar dimensions, though the specific encoding of bar heights or labels is not shown in the provided snippet.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes