Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barchart test

Public visualization

Viewing a saved revision (read-only)

56453edb49ca48c78f2426f62a9c08f8

barchart test

0 stars1🌍 Public
Ddriftcafe
Last edited Apr 6, 2022
Created on Feb 20, 2022
Forked from Histogram

This example displays a histogram of horsepower counts for German car brands, with the x-axis showing horsepower values from 50 to 650 and the y-axis representing the frequency of cars in each bin. The code uses d3.csv to load the data, d3.histogram to bin the values, and d3.scaleLinear for both axes. Interactive tooltips appear on hover, showing the range of each bin, while the bars are rendered as SVG rectangles with animated stroke changes on mouseover.

AI-generated description