SummerForeverCo / duck-plot

Connecting DuckDB to Observable Plot
https://summerforeverco.github.io/duck-plot/
MIT License
1 stars 0 forks source link

Reset x domain with legend filtering #38

Open mkfreeman opened 3 weeks ago

mkfreeman commented 3 weeks ago

The y domain resets, but the x domain should as well. It'll be a little tricky, as getSorts currently operates on all data, and if filteredData is passed in, then the color order doesn't match the legend. Image