Density Plot Library | Twitter Inc. | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Yuri Vishnevsky
@yurivish
Software engineer and visualization enthusiast. Lives in Cambridge, Massachusetts, with no dogs.
Comments (2)
Paul Murray
Jan 26, 2021
Looks like you might be calling `axisLeft` with the wrong axis: ``` d3.axisLeft( yAxisScale ? xAxisScale.copy().range([height, 0]) : d3.scaleLinear(dense.yDomain(), [height, 0]) ) ```
Yuri Vishnevsky
Jan 26, 2021
Doh. I have tests for the core density computation but not densityPlot. Thank you for the fix!
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Twitter Inc.
Yuri Vishnevsky
13
Reply
Add comment
Subscribe to notifications
9
Density Plot Library | Twitter Inc. | Observable