Camera Max Resolution Vesus Price
This scatterplot shows the relationship between camera price and maximum resolution, with each point representing a camera model and color-coded by manufacturer. The visualization reveals that higher resolution does not consistently correspond to higher price, suggesting many other factors influence camera cost. Built with D3 and the Vega-Lite API, the chart extracts the manufacturer from the Model field using string manipulation in the data-loading step. The data comes from a public camera dataset loaded via D3’s CSV parser, and the plot uses logarithmic axes to accommodate the wide range of prices.
AI-generated descriptionThis modification shows how to extract the make from the model field using string manipulation.
A visualization constructed using the vega-lite-api.
Result indicates there are no simple relationship between price and high resolution. there are many factor affecting price
dataset intro is at here
data is from camera dataset, which can be found here