diff --git a/components/VendorDataView.tsx b/components/VendorDataView.tsx index d6a6e4e..bde69b5 100644 --- a/components/VendorDataView.tsx +++ b/components/VendorDataView.tsx @@ -1,5 +1,5 @@ import React, { useMemo, useState } from 'react'; -import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, AreaChart, Area } from 'recharts'; +import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, Cell } from 'recharts'; import { BSRRecord } from '../types'; import { BuyBoxWarningBadge } from './BuyBoxWarningBadge'; @@ -181,36 +181,26 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Top Level BSR Trend ({resolutionLabel})

Lower rank = better position. Averaged across filtered ASINs per market.

- - - {activeMarkets.map(m => ( - - - - - ))} - - + + - + {activeMarkets.map(m => ( - ))} - + @@ -219,36 +209,26 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Detail Level BSR Trend ({resolutionLabel})

Lower rank = better position. Averaged across filtered ASINs per market.

- - - {activeMarkets.map(m => ( - - - - - ))} - - + + - + {activeMarkets.map(m => ( - ))} - + @@ -257,36 +237,26 @@ const VendorDataView: React.FC = ({ bsrData = [], asinMetad

Average Rating ({resolutionLabel})

Averaged across filtered ASINs per market.

- - - {activeMarkets.map(m => ( - - - - - ))} - - + + {activeMarkets.map(m => ( - ))} - +