Module

x/vega_lite/examples/specs/bar_yearmonth_custom_format.vl.json

A concise grammar of interactive graphics, built on Vega.
Latest
File
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "description": "Custom time format on x-axis.", "data": {"url": "data/seattle-weather.csv"}, "mark": "bar", "encoding": { "x": { "timeUnit": "yearmonth", "field": "date", "axis": {"format": "%B of %Y"} }, "y": {"aggregate": "mean", "field": "temp_max"} }}