Is there any more specific function to achieve this same result?

list={410, 1265, 2262, 2255, 3828, 6739, 15566, 12210}
BarChart[Apply [Labeled, Reverse [Transpose [{Range [Length[list]], list}], 2], {1}]]
  • $\begingroup$ What does "more specific" mean? $\endgroup$ – David G. Stork Jul 30 '18 at 17:22
BarChart @ MapIndexed[Labeled[#, #2[[1]]] &, list]

enter image description here


BarChart @ Thread[Labeled[list, Range @ Length @ list]] (* or *)
BarChart[list, ChartLabels -> Range[Length @ list]]

same picture


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.