plot icon indicating copy to clipboard operation
plot copied to clipboard

projection should support the angle option

Open Fil opened this issue 1 year ago • 0 comments

https://d3js.org/d3-geo/projection#projection_angle

Plot.plot({
  projection: {
    type: ({ width, height }) =>
      d3.geoEqualEarth().angle(11).fitSize([width, height], { type: "Sphere" })
  },
  marks: [Plot.graticule(), Plot.sphere()]
})

should be available as

Plot.plot({
  projection: {
    type: "equal-earth",
    angle: 11
  },
  marks: [Plot.graticule(), Plot.sphere()]
})

Fil avatar Nov 22 '24 07:11 Fil