Skip to content

add pages of examples translated from ObservablePlot docs #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
link to issues
  • Loading branch information
jamesscottbrown committed May 29, 2025
commit 1b719904ff4faffb5686b887c62f8a39c8ca3db9
13 changes: 9 additions & 4 deletions src/routes/examples/dot/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.

## [Scatterplot with interactive tips](https://observablehq.com/@observablehq/scatterplot-with-interactive-tips)

> :warning: This doesn't work.
> :warning: Default interactive tooltips aren't currently supported in SveltePlot - see [Issue #101](https://github.com/svelteplot/svelteplot/issues/101)

```svelte live
<script>
Expand Down Expand Up @@ -141,7 +141,8 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.

## [Ordinal scatterplot](https://observablehq.com/@observablehq/plot-ordinal-scatterplot)

> :warning: The radius scale doesn't seem to be working, or the faceting by sex isn't working. The x-axis order is also reversed from Observable Plot.
> :warning: Grouping based on the `color` doesn't work - see [Issue #100](https://github.com/svelteplot/svelteplot/issues/100).
> The x-axis order is also reversed from Observable Plot.

```svelte live
<script>
Expand Down Expand Up @@ -172,7 +173,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.

## [Linear regression](https://observablehq.com/@observablehq/plot-linear-regression-simpson)

> :warning: Observable Plot calls this mark _linearRegressionY_ rather than _RegressionY_.
> :warning: Observable Plot calls this mark _linearRegressionY_ rather than _RegressionY_ - see [Issue #91](https://github.com/svelteplot/svelteplot/issues/91)

```svelte live
<script>
Expand Down Expand Up @@ -233,7 +234,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.

## [Hexbin heatmap](https://observablehq.com/@observablehq/plot-olympians-hexbin)

> :warning: Svelte Plot doesn't have a Hexagon mark, or hexbin transform.
> :warning: Svelte Plot doesn't have a Hexagon mark, or hexbin transform. See [Issue #80](https://github.com/svelteplot/svelteplot/issues/80).

```svelte
<script>
Expand Down Expand Up @@ -262,6 +263,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.
## [Dodge cars (beeswarm)](https://observablehq.com/@observablehq/plot-dodge-cars)

> :warning: Svelte Plot doesn't have a dodgeY transform.
> See [Issue #16](https://github.com/svelteplot/svelteplot/issues/16).

```svelte
<script>
Expand All @@ -288,6 +290,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.
## [2D faceting](https://observablehq.com/@observablehq/plot-two-dimensional-faceting)

> :warning: Unlike Observable Plot, silently drops 11 penguins where sex is `null`, so only plots 2 columns.
> See [Issue #99](https://github.com/svelteplot/svelteplot/issues/99)

```svelte live
<script>
Expand All @@ -313,6 +316,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.
## [Non-faceted marks](https://observablehq.com/@observablehq/plot-non-faceted-marks)

> :warning: Unlike Observable Plot, silently drops 11 penguins where sex is `null`, so only plots 2 columns.
> See [Issue #99](https://github.com/svelteplot/svelteplot/issues/99)

```svelte live
<script>
Expand Down Expand Up @@ -344,6 +348,7 @@ it excludes those with `FileAttachment`s added to Observable Notebooks.
## [Dot histogram](https://observablehq.com/@observablehq/plot-dot-bins)

> :warning: This works in Observable Plot, but SveltePlot complains that the channel `y` is not specified.
> See [Issue #98](https://github.com/svelteplot/svelteplot/issues/98)

```svelte live
<script>
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy