Edit x
!
👀 Reading hidden code
md"""
Edit `x`!
"""
80
500
👀 Reading hidden code
x = [80, 500]
👀 Reading hidden code
"""
<script src="https://cdn.jsdelivr.net/npm/d3@6.2.0/dist/d3.min.js"></script>
<script id="hello">
const svg = this == null ? DOM.svg(600,200) : this
const s = this == null ? d3.select(svg) : this.s
s.selectAll("circle")
.data(x)
.join("circle")
.transition()
.duration(300)
.attr("cx", d => d)
.attr("cy", 100)
.attr("r", 10)
.attr("fill", "gray")
const output = svg
output.s = s
return output
</script>
""" |> HTML
👀 Reading hidden code
Activating new project at `/tmp/jl_KRGwT0` Updating registry at `~/.julia/registries/General.toml` Resolving package versions... Updating `/tmp/jl_KRGwT0/Project.toml` [682c06a0] + JSON v0.21.4 Updating `/tmp/jl_KRGwT0/Manifest.toml` [682c06a0] + JSON v0.21.4 [69de0a69] + Parsers v2.8.1 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [ade2ca70] + Dates [a63ad114] + Mmap [de0858da] + Printf [9a3f8284] + Random [ea8e919c] + SHA [9e88b42a] + Serialization [fa267f1f] + TOML [cf7118a7] + UUIDs [4ec0a83e] + Unicode