Fork of ICE-7 Line Chart
✓ Published0🌍 Public
This example shows the basic cost of Netflix per month across different countries, with the x-axis representing countries and the y-axis showing the basic cost value. The visualization uses D3 v5 to load CSV data from a GitHub gist, which is parsed so that the country values are treated as numeric and the cost as dates. The line chart is rendered in SVG, using `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, `d3.axisBottom`, and `d3.axisLeft` to generate the chart elements. Gridlines are drawn via tick sizing, and a title labels the graph.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed