D3 Text Visualization
This visualization displays suicide count data for Albania aggregated by year using bar charts. The code loads a CSV file containing suicide statistics and filters records for the selected country. It calculates yearly totals by summing suicide numbers across different demographics. Each bar’s length is determined by multiplying the suicide count by a scale factor, with the year value shown as text alongside each bar. The visualization uses d3.csv for data loading and d3-selection with SVG elements (rect and text) for rendering the final bar chart.