d3-shape icon indicating copy to clipboard operation
d3-shape copied to clipboard

Graphical primitives for visualization, such as lines and areas.

Results 20 d3-shape issues
Sort by recently updated
recently updated
newest added

Allow rounding of individual corners by passing in an array instead of a number following [CSS border radius](https://www.w3schools.com/cssref/css3_pr_border-radius.asp) conventions for which corners get rounded if array has less than 4...

I am looking for an option to reduce curve precision for arc, I want the generated pie to have less vertices, thanks

Following #177, as suggested in https://github.com/d3/d3-shape/pull/177#issuecomment-809936541, it could be useful to have a curve similar to [`curveStep`](https://d3js.org/d3-shape/curve#curveStep) but with smooth angles: ![image](https://github.com/d3/d3-shape/assets/1665542/0eeee0a9-8498-4f4f-a926-fcc4a38d78f1) An important note is that the curve angle...

Dear All, I would like to implement two optional parameters for the function arc(). At the moment arc().padAngle(x) create a symetric padding on each side of the arc sector. I...

It’d be great to have a reusable layout primitive for beeswarm plots, as here: https://observablehq.com/@mbostock/pachinko-simulator Ideally, it’d support circles of variable radius. And I think the implementation could be accelerated...

See https://observablehq.com/@fil/trail-marks Some gotchas (that ought to be fixed before we could import this): - [ ] when the variation in radius is important from one circle to the next,...

I add two attributes of d3.arc(): selectedCorner_s and selectedCorner_e, which control the rounding process of corners at start-angle or end-angle. The default value of these attributes is 1. Users can...

d3.stack is designed to work with non-tidy data where each row corresponds to a “group” (the set of observations for all layers, *e.g.*, year) with properties for each “layer” *a.k.a.*...

Hello. Is it any way to dynamically set curve smoothing like on the screenshot below? Really need such functionality. ![image](https://user-images.githubusercontent.com/18099022/110708498-70911080-8203-11eb-8ff4-3e2cc23540d0.png)