Skip to main content
100%

Untitled

✓ Published0🌍 Public
KkannamAmulyachowdary
Last edited Jun 26, 2022
Created on Jun 25, 2022
Forked from HTML Starter

This example shows a horizontal bar chart comparing the basic monthly cost for twelve countries, with blue bars representing costs and axes labeled with country names and numeric values. Built with React, it uses `useState` and `useEffect` to fetch and parse CSV data via `d3.csv`, then renders an SVG using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, with `d3.max` computing the domain. The code includes custom tick grids and labels, and the data comes from a remote gist URL.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes