Skip to content

Commit

Permalink
fix space
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 7, 2023
1 parent 00ab6f0 commit 2426fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/transforms/shift.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ onMounted(() => {

</script>

# Shift transform <VersionBadge pr="1896" />
# Shift transform <VersionBadge pr="1896" />

The **shift transform** is a specialized [map transform](./map.md) that derives an output **x1** channel by shifting the **x** channel; it can be used with the [difference mark](../marks/difference.md) to show change over time. For example, the chart below shows the price of Apple stock. The <span style="border-bottom: solid #01ab63 3px;">green region</span> shows when the price went up over the given interval, while the <span style="border-bottom: solid #4269d0 3px;">blue region</span> shows when the price went down.

Expand Down

0 comments on commit 2426fb1

Please sign in to comment.