pub fn bar(values: Vec<f64>) -> Result<BarChart, String>
Create a simple bar chart (equivalent to MATLAB’s bar(values))
bar(values)