Skip to main content
100%

ICE-6 Part 1

✓ Published0🌍 Public
JJerlineJJ
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

This bar chart displays the fuel efficiency of cars from 20 manufacturers, sourced from a CSV file accessed via a gist URL. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The SVG rendering positions named bars, with axis ticks drawn from `xScale.ticks()`. Data is loaded asynchronously via `d3.csv`, and the chart is rendered inside a React component using `ReactDOM.render`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes