svg_metadata

command
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Example: SVG metadata channels, responsive output, and band padding.

Demonstrates three features:

  1. Responsive SVG — root <svg> includes style="max-width:100%;height:auto"
  2. SVG metadata — <title> tooltips, <a href> links, aria-label for a11y
  3. Band padding — WithPaddingInner / WithPaddingOuter on discrete scales

Metadata channels flow through the standard ggplot pipeline: map a column via aes.Title / aes.Href / aes.AriaLabel, and the SVG output automatically emits the corresponding <title>, <a href>, and aria-label attributes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL