nteract / semiotic

A data visualization framework combining React & D3
https://semioticv1.nteract.io/
Other
2.43k stars 132 forks source link

Ability to specify width in terms of percentage #624

Open crajar opened 2 years ago

crajar commented 2 years ago

https://codesandbox.io/s/semiotic-ordinalframe-workshop-example-forked-r6x0pq

The size parameter only takes in a number array. Is there a way to specify the size in terms of percentage and make it responsive I guess? I couldn't find anything in the documentation regarding this.

Like in the above codesandbox example, how do I make the OrdinalFrame take up the full space of its parent div, which is 70%?