Skip to content

Commit

Permalink
Update ProductionWorldwideChart.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
benmar2406 committed Dec 12, 2024
1 parent 47dda48 commit 811e175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function ProductionWorldWideChart({ t }) {
const innerWidth = 800 - margin.left - margin.right;
const innerHeight = 400 - margin.top - margin.bottom;

const x = d3.scaleTime()
const x = d3.scaleLinear()
.domain(d3.extent(meatProductionData, d => d.Year))
.range([margin.left, innerWidth]);

Expand Down

0 comments on commit 811e175

Please sign in to comment.