Sensor history showing as state bars instead of line graph

I’m trying to implement a graph of my weight which automatically updates from my Wifi scales, but it displays a bar graph.

- platform: scrape
  name: weight
  resource: URL
  select: 'td:nth-of-type(2)'

The above sensor returns a string xx.xx kg

- platform: template
      value_template: '{{states.sensor.weight.state.split()[0] | float}}'
      unit_of_measurement: kg

Correctly returns a float xx.xx

    name: Weight
      - sensor.weightfloat

Am I taking the wrong approach here? Do I not even need the sensor template?