🌍 Public
Viewing a saved revision (read-only)
5edceaa514004a878d90a68c75c0e6f8
DATA WEAVING
The visualization displays the relationship between names and random numerical values from a CSV dataset as two sets of overlapping rectangles. Each name is associated with a bar extending horizontally based on its value, while a second set of rectangles is drawn vertically using swapped scales. The code uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs, rendering to an SVG canvas. The chart is generated by importing `select`, `csv`, and scales from the `d3` module, with data loaded from `data.csv` and styled by CSS.
AI-generated description