Data rules

Note that you probably want to use TickY instead of a faceted RuleY.

<Plot inset={10}>
    <RuleY
        data={aapl.slice(0, 150)}
        y="Close"
        fx={(d) => monthNames[d.Date.getMonth()]} />
</Plot>
Improve this page
Last update at: 2025/11/24