frontend

3 posts tagged “frontend”.

  1. 2024
  2. Creating a dynamic line chart with SVG

    I helped build the tide chart visualizations for Rocky Beaches. I wanted to generate an SVG line representing 24 hours of tide levels.

    2 min read
  3. Dynamically loading multiple assets with a callback

    For datasette-leaflet-geojson I wanted to dynamically load some external CSS and JavaScript and then execute some code once they had loaded (issue 14).

    1 min read
  4. 2023
  5. Histogram with tooltips in Observable Plot

    Given an array of datetime objects, I wanted to plot a histogram. But I wanted to automatically pick a bucket size for that histogram that resulted in something interesting, no matter what range of…

    1 min read