Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Mmauryaamit
Last edited Jul 2, 2020
Created on Jul 2, 2020
Forked from HTML Starter

This example demonstrates horizontal and vertical bar charts built with D3 v5, rendering SVG elements with animated transitions. The visualization reads data from a CSV file and displays multiple series with customizable colors, selection highlights, and optional area fills. Users can toggle between bar and line representations per series, with axis ranges configurable for both left and right sides. Hovering over chart sections reveals tooltips showing weekly values via mouse events, while invisible selection rectangles enable interactive node highlighting. The code leverages d3.csv, scaleLinear, scaleBand, axisLeft, axisBottom, and axisRight for data binding and chart construction.

AI-generated description

Horizontal and verical bar charts

MIT Licensed

Similar vizzes