Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Sshailajat1998@gmail.com
Last edited Mar 18, 2024
Created on Mar 18, 2024
Forked from HTML Starter

This example shows a horizontal bar chart comparing the number of units produced by various car manufacturers. The bars are drawn as SVG rectangles, with the x-axis representing the count of units and the y-axis listing manufacturer names. The visualization loads its data from a remote CSV file, which is parsed manually into an array of rows. Using D3.js v7, the code applies a linear scale for the x-axis, a band scale for the categorical y-axis, and appends axis labels and a title directly within the SVG container.

AI-generated description
MIT Licensed

Similar vizzes