Skip to main content
100%

Fork of Line_chart_facebook_users

✓ Published0🌍 Public
Ffouzanuddin
Last edited Mar 29, 2022
Created on Mar 29, 2022

This line chart visualizes the average number of likes per account across years, based on a TikTok dataset loaded from a GitHub gist. The code defines the chart margins and scales, plotting the year on the x-axis and average likes on the y-axis. It uses `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` to construct the visualization within an SVG. The chart is rendered with a blue polyline and styled axis labels, with the data's numeric values converted from strings for accurate plotting.

AI-generated description
MIT Licensed

Similar vizzes