上传可视化图表
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
现在,您的可视化代码已编写完毕,Looker Studio 需要能够
访问您的资源要让 Looker Studio 加载社区可视化图表
您的资源必须在 Google Cloud Storage 存储分区中公开提供。
使用网页界面或 gsutil 命令行工具创建存储分区并上传文件。
如果您的可视化图表文件位于当前的工作目录中,则您可以使用以下命令将其上传到存储分区。
gsutil cp -a public-read * gs://MY_GOOGLE_CLOUD_STORAGE_BUCKET
后续步骤
现在您的可视化图表资源已上传,请了解如何
在 Looker Studio 报告中使用可视化图表。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eTo enable Looker Studio to load your community visualization, all resources must be publicly accessible in a Google Cloud Storage bucket.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a bucket and upload files using the web interface or the gsutil command-line tool.\u003c/p\u003e\n"],["\u003cp\u003eAfter uploading your visualization resources, you can proceed to integrate and utilize your visualization within a Looker Studio report.\u003c/p\u003e\n"]]],[],null,["# Uploading your viz\n\nNow that your visualization code is written, Looker Studio needs to be able to\naccess your resources. For Looker Studio to load a community visualization, all\nof your resources must be publicly available in a [Google Cloud Storage bucket](https://cloud.google.com/storage/docs/creating-buckets).\n\nCreate a bucket and upload files using either the web interface or the\n[gsutil command-line tool](https://cloud.google.com/storage/docs/gsutil).\n\nIf your visualization files are in your current working directory, you can use\nthe following command to upload your files to your storage bucket. \n\n gsutil cp -a public-read * gs://MY_GOOGLE_CLOUD_STORAGE_BUCKET\n\nNext steps\n----------\n\nNow that your visualization resources are uploaded, learn how to\n[use your visualization](/looker-studio/visualization/load-viz) in a Looker Studio report."]]