Inverted Axis

Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan 29.2 24.5 19.8 15.1 10.5 5.75 1.06 -3.64 Tokyo New York Berlin London

SQL source code for this example:

IMPORT TABLE city_temperatures
   FROM 'csv:examples/data/city_temperatures.csv?headers=true';

DRAW LINECHART WITH
   XDOMAIN INVERT
   YDOMAIN INVERT
   AXIS BOTTOM
   AXIS LEFT
   LEGEND BOTTOM RIGHT INSIDE;

SELECT city AS series, month AS x, temperature AS y, "circle" as pointstyle
   FROM city_temperatures;

Run this example:

$ fnordmetric-cli --format=svg examples/linecharts/inverted_axis.sql