1 dimensional Scatter Plot
A one-dimensional scatter plot displays discrete quantities for categorical food items, with each circle positioned along a linear scale for quantity and a point scale for item names. The visualization uses D3 v5 APIs including `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft`, rendering circles as SVG elements. Data loads from a local CSV file containing item and quantity pairs. The chart includes labeled axes, a title, and horizontally aligned tick marks that extend across the plot area to aid comparison.
AI-generated descriptionThis is a practice bar chart using data from different aircraft types and their powerplant configuration.
In data.csv line 1: change the names "item" and "quantity" to your new parameters. In index.js rename "item" and "qauntity" to your new names as above (see lines 19,20 and 79). In index.js file rename the chart title, x axis label, margins, ticker intervals as desired.