Replies: 1 comment 6 replies
-
Your Git repository link is not valid. Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or eventually a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```

The end.
```` |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I made an interactive map using ggplotly() for a report I'm making on Quarto in RStudio. I have it saved in my directory under "figures/community_areas_shootings_plotly.html"
I'm trying to embed it in Quarto but it won't render correctly. Instead, the code shows up as text in the document.
Created on 2023-12-05 with reprex v2.0.2
CC: If there's a better way to embed a ggplotly into a Quarto let me know!
Repo: https://github.com/stat301-1-2023-fall/final-project-1-saulpink
Beta Was this translation helpful? Give feedback.
All reactions