Skip to content

Commit

Permalink
Merge branch 'main' into fil/document-d3-geo-281
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 12, 2024
2 parents 00a25ad + 9f9d468 commit 834255f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/.vitepress/theme/CustomFooter.vue
Expand Up @@ -16,7 +16,6 @@
<li class="mb2"><a target="_blank" href="https://talk.observablehq.com">Forum</a></li>
<li class="mb2"><a target="_blank" href="https://observablehq.com/slack/join">Slack</a></li>
<li class="mb2"><a target="_blank" href="https://github.com/d3/d3/releases">Releases</a></li>
<li class="mb2"><a target="_blank" href="https://observablehq.com/@observablehq/plot-twist-newsletter-signup">Newsletter</a></li>
</ul>
</div>
<div class="fb6 flex-grow-1">
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started.md
Expand Up @@ -295,8 +295,8 @@ export default function LinePlot({
const line = d3.line((d, i) => x(i), y);
return (
<svg width={width} height={height}>
<path fill="none" stroke="currentColor" stroke-width="1.5" d={line(data)} />
<g fill="white" stroke="currentColor" stroke-width="1.5">
<path fill="none" stroke="currentColor" strokeWidth="1.5" d={line(data)} />
<g fill="white" stroke="currentColor" strokeWidth="1.5">
{data.map((d, i) => (<circle key={i} cx={x(i)} cy={y(d)} r="2.5" />))}
</g>
</svg>
Expand Down Expand Up @@ -334,8 +334,8 @@ export default function LinePlot({
<svg width={width} height={height}>
<g ref={gx} transform={`translate(0,${height - marginBottom})`} />
<g ref={gy} transform={`translate(${marginLeft},0)`} />
<path fill="none" stroke="currentColor" stroke-width="1.5" d={line(data)} />
<g fill="white" stroke="currentColor" stroke-width="1.5">
<path fill="none" stroke="currentColor" strokeWidth="1.5" d={line(data)} />
<g fill="white" stroke="currentColor" strokeWidth="1.5">
{data.map((d, i) => (<circle key={i} cx={x(i)} cy={y(d)} r="2.5" />))}
</g>
</svg>
Expand Down

0 comments on commit 834255f

Please sign in to comment.