Line Chart
This line chart visualizes yearly rainfall data from 2000 to 2004, with the line smoothly interpolated through the data points. The chart displays the title "Yearly rainfall," labeled axes for "Year" and "Rainfall," and gridlines for readability. Using D3 v5, the code employs `select`, `csv`, `scaleLinear`, `extent`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG. The data comes from a local CSV file, and styling is applied via external CSS.