charts
✓ Published0🌍 Public
This example combines a bar chart and a line chart in a single SVG to compare daily totals with the average of three component values. Light blue bars represent the total sum of fields A, B, and C, while a purple line traces the daily average across the same time period. The chart uses dual y-axes, with left labels for totals and right labels for averages, and a time-based x-axis showing date ranges. It is built with d3.v7, loading data from a CSV file via `d3.csv` and `d3.autoType`, then rendering using `d3.scaleBand`, `d3.scaleTime`, `d3.scaleLinear`, and `d3.line` with SVG output.
AI-generated descriptionMIT Licensed