🌍 Public
Viewing a saved revision (read-only)
8a0b6d435dbc410ea93acd5877e2c0fa
ABNB Revenue - Vertical Bar Chart
This vertical bar chart displays ABNB revenue by year from 2015 to 2019, using a dark steel-blue line and circular points to emphasize the upward trend. The visualization loads data from revenue.csv via d3.csv, then maps years to a d3.scaleBand x-axis and revenue to a d3.scaleLinear y-axis with a reversed domain. It renders as an SVG with d3.axisLeft and d3.axisBottom for ticks, while a d3.line generator with curveBasis connects the data points. Axis labels and a title are added using SVG text elements.
AI-generated descriptionMy first d3 attempt to visualise ABNB revenue from the pre-IPO S-1.