Create a Bar Chart
This example shows a simple bar chart depicting the frequency of five Romance languages (Spanish, Portuguese, French, Italian, and Romanian) using data loaded from a tab-separated values file. The chart renders as an SVG, with bars colored purple that darken to a reddish hue on hover. It uses D3 v4’s `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, along with `d3.axisBottom` and `d3.axisLeft` to display labels and percentage ticks. The y-axis is annotated with the title “Frequency.”