From 8d8626cf63da3a77787e15fd97142de459b2abda Mon Sep 17 00:00:00 2001 From: Adrian Rumpold Date: Wed, 9 Jul 2025 12:41:15 +0200 Subject: [PATCH] Fix d3 x scale definition --- src/App.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e7f4009..6e20d4e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -29,9 +29,7 @@ function App() { const xScale = d3 .scaleBand() .domain(sortedResponses) - .range([0, sortedResponses.length * config.groupSpacing]) - .padding(0.1); - + .range([0, sortedResponses.length * config.groupSpacing]); return ( <>