Skip to main content
100%

Asssssignment

✓ Published0🌍 Public
HHemanthh81
Last edited Jul 21, 2023
Created on Jul 21, 2023
Forked from Activity 7

This visualization shows the fuel efficiency (mpg) of 20 car models, with horizontal bars representing each car's miles per gallon alongside their make. The chart uses blue tick lines and light green bars against a clean white background, with a labeled x-axis for population-2020 values. Built with React and D3 v5, it employs `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and renders SVG elements through custom `AxisBottom`, `AxisLeft`, and `Marks` components that generate the ticks and rectangles. Data is loaded from a CSV file via D3's `csv` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes