SVG charts rendered on the server SVG is just markup, so JSX components can draw charts on the server: a few lines of math turn data into coordinates.
The charts are part of the HTML, so they show up instantly, need no chart library in the browser, and work with JavaScript turned off. Tooltips use the SVG <title> element, and the hover effects are plain CSS.
Line chart Average temperature per month (°C, approximate long-term averages) -5° 0° 5° 10° 15° 20° 25° 30° Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Sydney Madrid Berlin Oslo Jan
Berlin: 0.6°
Madrid: 6.3°
Oslo: -4.3°
Sydney: 23.5° Feb
Berlin: 1.4°
Madrid: 7.9°
Oslo: -4°
Sydney: 23.4° Mar
Berlin: 4.8°
Madrid: 11.2°
Oslo: -0.2°
Sydney: 22.1° Apr
Berlin: 9.3°
Madrid: 12.9°
Oslo: 4.5°
Sydney: 19.5° May
Berlin: 14.2°
Madrid: 16.7°
Oslo: 10.8°
Sydney: 16.6° Jun
Berlin: 17.5°
Madrid: 22.2°
Oslo: 15.2°
Sydney: 14.2° Jul
Berlin: 19.6°
Madrid: 25.6°
Oslo: 16.4°
Sydney: 13.4° Aug
Berlin: 19.2°
Madrid: 25.1°
Oslo: 15.2°
Sydney: 14.5° Sep
Berlin: 15°
Madrid: 20.9°
Oslo: 10.8°
Sydney: 17° Oct
Berlin: 9.9°
Madrid: 15.1°
Oslo: 6.3°
Sydney: 19° Nov
Berlin: 5°
Madrid: 9.9°
Oslo: 0.7°
Sydney: 20.4° Dec
Berlin: 1.8°
Madrid: 6.9°
Oslo: -3.1°
Sydney: 22.1° Show data as table City Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Berlin 0.6 1.4 4.8 9.3 14.2 17.5 19.6 19.2 15 9.9 5 1.8 Madrid 6.3 7.9 11.2 12.9 16.7 22.2 25.6 25.1 20.9 15.1 9.9 6.9 Oslo -4.3 -4 -0.2 4.5 10.8 15.2 16.4 15.2 10.8 6.3 0.7 -3.1 Sydney 23.5 23.4 22.1 19.5 16.6 14.2 13.4 14.5 17 19 20.4 22.1
Bar chart Average temperature per year (°C) · sort from warmest to coldest 0 5 10 15 20 Berlin: 9.9 9.9 Berlin Madrid: 15.1 15.1 Madrid Oslo: 5.7 5.7 Oslo Sydney: 18.8 18.8 Sydney Sparklines Small charts fit into a table cell. The dots mark the warmest and the coldest month. City Year Coldest Warmest Berlin 0.6° (Jan) 19.6° (Jul) Madrid 6.3° (Jan) 25.6° (Jul) Oslo -4.3° (Jan) 16.4° (Jul) Sydney 13.4° (Jul) 23.5° (Jan)