from fune.charts.line_chart import line_chart # charts.line-chart@^1
Suites · dashboards
Dashboards and charts
Chart geometry as data in any language (scales, ticks, axes, lines, bars, pies, sparklines) plus the statistics and number formatting a dashboard shows.
47 capabilities (16 core, 31 optional) and 7 gaps, in build order. Put each line in the file that calls it, then fune build.
Core coverage: 69.6%
16 of 23 needs met by verified capabilities. The needs are this suite's 16 core members and its 7 named gaps; a core member counts when a version of it is verified (by the sandbox, or the registry's seed) and not yanked, and a gap never counts. Optional members are not needs.
Baseline: a hand-written app with no suite meets 0 of the same 23. Method fune-coverage/1, computed 2026-11-22T20:48:59.559Z.
1. Whole charts
Get complete chart geometry in one call, for the common charts.
from fune.charts.bar_chart import bar_chart # charts.bar-chart@^1
from fune.charts.sparkline import sparkline # charts.sparkline@^1
2. Chart building blocks
Compose charts of your own from the same parts.
from fune.charts.scale import linear_scale, invert_linear, nice_domain, log_scale, time_scale, band_scale, point_scale # charts.scale@^1
from fune.charts.ticks import tick_step, nice_ticks, time_tick_interval, time_ticks # charts.ticks@^1
from fune.charts.axis import axis_from_ticks, number_axis, time_axis, band_axis, grid_lines # charts.axis@^1
from fune.charts.shape import line_path, area_path, step_path, monotone_curve, bar_rects, arc_path, pie_angles # charts.shape@^1
from fune.charts.stack import stack # charts.stack@^1
from fune.charts.layout import plot_area, legend_rows, avoid_collisions # charts.layout@^1
from fune.charts.extent import extent # charts.extent@^1
from fune.charts.histogram_bins import histogram_bins # charts.histogram-bins@^1
from fune.charts.downsample import downsample # charts.downsample@^1
3. Colour
Readable, colour-blind-safe colours.
from fune.charts.palette import palette # charts.palette@^1
from fune.charts.interpolate_color import interpolate_color # charts.interpolate-color@^1
from fune.charts.contrast import contrast_ratio, readable_text_color # charts.contrast@^1
from fune.charts.color import parse_hex, to_hex, srgb_to_linear, linear_to_srgb # charts.color@^1
4. Figures and statistics
The numbers in the tiles and tooltips.
from fune.charts.format import format_tick, format_si, format_percent, format_date, format_money_tick # charts.format@^1
from fune.stats.mean_median import mean_median_mode # stats.mean-median@^1
from fune.stats.percentile import percentile # stats.percentile@^2
from fune.stats.moving_average import moving_average # stats.moving-average@^2
from fune.stats.standard_deviation import standard_deviation # stats.standard-deviation@^2
from fune.stats.weighted_average import weighted_average # stats.weighted-average@^1
from fune.math.percent_change import percent_change # math.percent-change@^1
from fune.text.format_decimal import format_decimal # text.format-decimal@^1
from fune.money.format import format_money # money.format@^1
from fune.collections.group_by_key import group_by_key # collections.group-by-key@^1
5. Calendar arithmetic from dates-basics
Move and measure ISO dates exactly, with no date library and no clock reads.
from fune.dates.add_days import add_days # dates.add-days@^1
from fune.dates.add_months import add_months # dates.add-months@^1
from fune.dates.days_between import days_between # dates.days-between@^1
from fune.dates.month_boundaries import month_boundaries # dates.month-boundaries@^1
from fune.dates.day_of_week import day_of_week # dates.day-of-week@^1
from fune.dates.is_leap_year import is_leap_year # dates.is-leap-year@^1
from fune.dates.overlap import overlap_days # dates.overlap@^1
from fune.dates.age import age # dates.age@^1
6. Periods and reporting dates from dates-basics
Put dates into the periods reports are grouped by.
from fune.dates.quarter import quarter # dates.quarter@^1
from fune.dates.week_number import week_number # dates.week-number@^1
from fune.dates.day_count_fraction import day_count_fraction # dates.day-count-fraction@^1
7. Working days and holidays from dates-basics
Skip weekends and public holidays when counting or adding days.
from fune.dates.bank_holidays import bank_holidays # dates.bank-holidays@^1
from fune.dates.add_business_days import add_business_days # dates.add-business-days@^1
from fune.dates.business_days_between import business_days_between # dates.business-days-between@^1
8. Repeating schedules from dates-basics
Generate the dates of something that repeats.
from fune.dates.recurrence import recurrence # dates.recurrence@^1
9. Times and durations from dates-basics
Work with times of day, durations and timestamps.
from fune.time.duration import duration # time.duration@^1
from fune.time.minutes_between import minutes_between # time.minutes-between@^1
from fune.time.round_to_increment import round_to_increment # time.round-to-increment@^1
from fune.time.iso_to_unix import iso_to_unix # time.iso-to-unix@^1
from fune.time.unix_to_iso import unix_to_iso # time.unix-to-iso@^1
from fune.time.countdown import countdown # time.countdown@^1
Gaps
What this kind of app usually needs that Functional Weave does not have yet: write these yourself, or use a service.
- rendering Drawing: caps returns numbers and SVG path strings; putting them in SVG, canvas or a chart component is yours.
- interactivity Tooltips, zoom, pan, brushing and animation.
- data-queries Querying and aggregating the data at source (SQL, a metrics store); monitor.rollup covers time buckets in memory.
- pie-donut-chart A complete pie or donut chart: charts.shape gives pieAngles and arcPath, assembling legend and labels is yours.
- time-zones Time axes in local time zones: charts work in UTC dates and times.
- locale-formatting Showing dates in a user's language and format ("3 octobre 2026"): caps returns ISO dates, not localised text.
- non-uk-holidays Public holidays outside the UK: dates.bank-holidays is UK only; pass another country's list to the working-day functions yourself.